#ifndef TEST_H
#define TEST_H

#include <QObject>

class Test : public QObject
{
    Q_OBJECT
    Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled)
public:
    explicit Test(QObject *parent = 0);
    ~Test();

    void setEnabled(bool e) { m_bEnable = e; }
    bool isEnabled() const { return m_bEnable; }

private:
    bool m_bEnable;
};

#endif // TEST_H
